<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"></meta>
        <script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
        <script type="text/javascript">
            $(function() { 
               
            });
        </script>
    </head>
    <body>
        <div id="caja_login">

            <?php
            $this->load->helper('form');
            $this->load->helper('html');

            echo form_open('login/validarUsuario');
            echo form_fieldset('Login', 'style="width:350px"');
            echo '<table>';
            echo '<tr>';
            echo '<td width="500px">';
            echo form_label('Usuario : ', 'usuario');
            echo '</td>';
            echo '<td>';
            $data = array(
                'name' => 'usuario',
                'id' => 'usuario',
                'value' => '',
                'maxlength' => '100',
                'size' => '50',
                'style' => 'width:200px',
            );
            echo form_input($data);
            echo '</td>';

            echo '<tr>';
            echo '<td>';
            echo form_label('Contraseña : ', 'password');
            echo '</td>';
            echo '<td>';
            $data = array(
                'name' => 'password',
                'id' => 'password',
                'value' => '',
                'maxlength' => '100',
                'size' => '50',
                'style' => 'width:200px',
            );
            echo form_password($data);
            echo '</td>';

            echo '<tr>';
            echo '<td colspan="2">';
//            echo form_button('loguear', 'Entrar');
            echo form_submit('loguear', 'Entrar');
            echo '</td>';
            echo '</tr>';
            echo '</table>';
            echo form_fieldset_close();
            echo form_close();
            ?>

        </div>
    </body>
</html>


